package com.dslu.fx.dao;

import com.dslu.fx.domain.CarDO;
import com.dslu.fx.domain.EmergencyDO;
import com.dslu.fx.domain.EmergencyDepartDO;
import com.dslu.fx.vo.EmergencyDepartVO;
import com.dslu.fx.vo.EmergencyStockVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @date 2021-03-26 16:13:53
 */
@Mapper
public interface EmergencyDepartDao {

	EmergencyDepartDO get(Integer id);
	
	List<EmergencyDepartDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(EmergencyDepartDO emergencyDepart);
	
	int update(EmergencyDepartDO emergencyDepart);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    List<EmergencyDepartDO> getEmergencyDepartList(Map<String, Object> map);

    EmergencyDepartDO getOne(Map<String, Object> map);

	List<EmergencyDepartVO> getEmergencyDepart(Map<String, Object> map);

	List<Integer> getAreaIds(Integer emergencyId);

	EmergencyDO getEmergencyByBatchNo(String batchNo);

	EmergencyDO getEmergencyById(int id);

	List<EmergencyStockVO> getEmergencyTemplateStockList(Map<String, Object> map);

	List<EmergencyStockVO> getEmergencyStockVOList(Map<String, Object> map);

	List<CarDO> getTemplateCarList(Map<String, Object> map);

	List<CarDO> getCarList(Map<String, Object> map);
}
